package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.ARoll;
import com.ruoyi.system.service.IARollService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

import static com.ruoyi.common.core.domain.AjaxResult.success;

/**
 * 滚动数据Controller
 *
 * @author system
 * @date 2025-02-22
 */
@RestController
@RequestMapping("/xcx/aRoll")
public class XcxARoll {

    @Autowired
    private IARollService aRollService;

    /**
     * 查询滚动数据列表
     */
    @GetMapping("/xcxList")
    public AjaxResult xcxList(ARoll aRoll) {
        List<ARoll> list = aRollService.selectARollXcxList(aRoll);
        return success(list);
    }
}
